Home | GR32 |
function Point(X, Y: Integer): TPoint; overload;
function Point(const FP: TFloatPoint): TPoint; overload;
function Point(const FXP: TFixedPoint): TPoint; overload;
Constructs a point with integer coordinates, or converts it from the one with fixed/floating point coordinates by rounding them to nearest integers.
function FloatPoint(X, Y: Single): TFloatPoint; overload;
function FloatPoint(const P: TPoint): TFloatPoint; overload;
function FloatPoint(const FXP: TFixedPoint): TFloatPoint; overload;
Provides construction and converstion of points with floating-point coordinates.
function FixedPoint(X, Y: Integer): TFixedPoint; overload;
function FixedPoint(X, Y: Single): TFixedPoint; overload;
function FixedPoint(const P: TPoint): TFixedPoint; overload;
function FixedPoint(const FP: TFloatPoint): TFixedPoint; overload;
Provides construction and converstion of points with fixed-point coordinates
TFixedPoint, TFloatPoint, TPoint
Copyright ©2000-2004 Alex Denisov and Contributors - Graphics32 v1.7.1 - Build on 25-Februar-2005